package cn.wolfcode.rbac.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class OtherController {

    @RequestMapping({"/customer*/**","systemDictionary/list.do","/systemDictionaryItem/list.do"})
    public String error(Model model){
        Exception e =  new RuntimeException("功能未完善，请关注后续版本。");
        model.addAttribute("errorMsg", e.getMessage());
        return "common/error";
    }
}
